package com.sistemagestion.DAO;

import java.io.Serializable;
import java.util.List;

public interface IGenericDao <T, ID extends Serializable>{
	
	long saveObject(T entity) throws Exception;
	
	T getById(Integer id) throws Exception;
	
	List<T>getAll() throws Exception;
		
	void delete (T entity) throws Exception;
	
	void update (T entity) throws Exception;


}
